package com.elderly.model.result;

import jdk.net.SocketFlow;

/**
 * @Description 响应码
 * @Date 2021/10/4 16:36
 * @Created 30500
 */
public class ResultCode {
    /**
     * 执行正常
     */
    public static final Integer RC_200 = 200;

    /**
     * 服务器错误
     */
    public static final Integer RC_500 = 500;

    /**
     * 请求执行失败
     */
    public static final Integer RC_503 = 503;

    /**
     * 临时定向转发
     */
    public static final Integer RC_302 = 302;

    /**
     * 定向外部接口数据
     */
    public static final Integer RC_303 = 303;

    @Result(status = "参数格式错误")
    public static final Integer RC_401 = 401;

    @Result(status = "必填参数存在空值")
    public static final Integer RC_402 = 402;

    @Result(status = "传入参数错误")
    public static final Integer TC_403 = 403;
}

